<div class="sidebar_detail" >
	<div class="tab-header">
		<div class="title">
			<i class="fa fa-home"></i>修改房型
		</div>
		<div class="tool">
			<button type="button" class="btn btn-default" ng-click="updateSupport.save()" ng-disabled="updateRoomStyleForm.$invalid">
				<i class="fa fa-outdent"></i>保存
			</button>
		</div>
	</div>
	<ul class="nav nav-tabs" role="tablist" style="clear:both">
		<li class="active"><a data-target="#spotBaseInfo" role="tab" data-toggle="tab">基本信息</a></li>
	</ul>
	<div class="tab-content">
		<div class="tab-pane active" id="spotBaseInfo">
			<form id="updateRoomStyleForm" name="updateRoomStyleForm" novalidate>
				<!--与上传图片在同一行的内容 开始 -->
				<div class="row">
					<div class="col-md-6 form-horizontal">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>酒店名称:</label>
							<div class="col-md-8 col-sm-10">
								<input id="addRoomStyleHotelName" name="addRoomStyleHotelName" type="text" class="form-control">
								<input name="uuid" type="hidden" class="form-control" ng-model="updateSupport.entity.uuid" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateRoomStyleForm.uuid.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal" style="margin-left:-26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label">房型代码:</label>
							<div class="col-md-8 col-sm-10">
								<input id="code" name="code" type="text" class="form-control" ng-model="updateSupport.entity.code" disabled>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" >
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>名　　称:</label>
							<div class="col-md-8 col-sm-10">
								<input id="name" name="name"  type="text" class="form-control" ng-model="updateSupport.entity.name" ng-maxlength="32" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateRoomStyleForm.name.$valid"></span>
								<span class="error_tips" ng-show="updateRoomStyleForm.name.$error.maxlength">最多不能超过32个字符！</span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal" style="margin-left:-26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>床　　型:</label>
							<div class="col-md-8 col-sm-10">
								<input id="addRoomStyleTypeName" name="addRoomStyleTypeName" type="text" class="form-control" required>
								<input name="type" type="hidden" class="form-control" ng-model="updateSupport.entity.type" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateRoomStyleForm.type.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" >
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>床大小:</label>
							<div class="col-md-8 col-sm-10">
								<input id="bed" name="bed"  type="text" class="form-control" ng-model="updateSupport.entity.bed" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateRoomStyleForm.bed.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal" style="margin-left:-26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>价  格:</label>
							<div class="col-md-8 col-sm-10">
								<input id="price" name="price"  type="number" min="0" class="form-control" ng-model="updateSupport.entity.price" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateRoomStyleForm.price.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" >
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>余  量:</label>
							<div class="col-md-8 col-sm-10">
								<input id="number" name="number" min="0"  type="number" class="form-control" ng-model="updateSupport.entity.number" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateRoomStyleForm.number.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal" style="margin-left:-26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>楼  层:</label>
							<div class="col-md-8 col-sm-10">
								<input id="floor" name="floor"  type="text" class="form-control" ng-model="updateSupport.entity.floor" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateRoomStyleForm.floor.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" >
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>早  餐:</label>
							<div class="col-md-8 col-sm-10">
								<label class="radio-inline" style="margin-left: -10px;">
									<input type="radio" name="breakfast" value="1" ng-model="updateSupport.entity.breakfast" ng-checked="updateSupport.entity.breakfast=='1'"> 有
								</label>
								<label class="radio-inline">
									<input type="radio" name="breakfast" value="0" ng-model="updateSupport.entity.breakfast" ng-checked="updateSupport.entity.breakfast=='0'"> 无
								</label>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal" style="margin-left:-26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>宽  带:</label>
							<div class="col-md-8 col-sm-10">
								<label class="radio-inline" style="margin-left: -10px;">
									<input type="radio" name="network" value="1" ng-model="updateSupport.entity.network" ng-checked="updateSupport.entity.network=='1'"> 有
								</label>
								<label class="radio-inline">
									<input type="radio" name="network" value="0" ng-model="updateSupport.entity.network" ng-checked="updateSupport.entity.network=='0'"> 无
								</label>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-6 form-horizontal" >
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>人数上限:</label>
							<div class="col-md-8 col-sm-10">
								<input id="person" name="person"  type="number" min="0" class="form-control" ng-model="updateSupport.entity.person" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateRoomStyleForm.person.$valid"></span>
							</div>
						</div>
					</div>
					<div class="col-md-6 form-horizontal" style="margin-left:-26px;">
						<div class="form-group">
							<label class="col-md-4 col-sm-2 control-label"><span class="notNull" >*</span>面  积:</label>
							<div class="col-md-8 col-sm-10">
								<input id="area" name="area" type="number" min="0" class="form-control" ng-model="updateSupport.entity.area" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateRoomStyleForm.area.$valid"></span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal">
						<div class="form-group">
							<label class="col-sm-2 control-label">描述 :</label>
							<div class="col-sm-10">
								<textarea id="description" name="description" class="form-control" rows="4" ng-model="updateSupport.entity.description" ng-maxlength="300"></textarea>
								<span class="error_tips" ng-show="updateRoomStyleForm.description.$error.maxlength">最多不能超过300个字符！</span>
							</div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal">
						<div class="form-group">
							<label class="col-sm-2 control-label">照片上传</label>
							<div class="col-sm-10" id="AddRoomStyleMultiFileUpload"></div>
						</div>
					</div>
				</div>
				<div class="row">
					<div class="col-md-12 form-horizontal">
						<div class="form-group">
							<label class="col-sm-2 control-label"></label>
							<div class="col-sm-10">
								<ul id="dowebok">
									<li ng-repeat="item in updateSupport.bind.images" style="list-style-type: decimal;margin: 8px 0;">
										<img data-original="{{ item.key }}" src="{{ item.hasOwnProperty('src') ? item.src : item.path }}" style="width: 90%;">
										<a ng-if="!item.hasOwnProperty('src')" href="javascript:void(0);" ng-click="updateSupport.removeImg(item.resouceId)" style="float: right; "><i class="fa fa-times"></i></a>
									</li>
								</ul>
								<input name="isOk" type="hidden" class="form-control" ng-model="updateSupport.bind.isOk" required>
								<span class="glyphicon glyphicon-ok form-control-feedback" ng-show="updateRoomStyleForm.isOk.$valid"></span>
							</div>
						</div>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>